<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\UserXUnit
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property int $unit_id 单位id
 * @property string|null $position 职位
 * @property int $is_admin 是否管理员 0：否 1L是
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\UserXUnit onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereIsAdmin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit wherePosition($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereUnitId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserXUnit whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\UserXUnit withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserXUnit withoutTrashed()
 * @mixin \Eloquent
 */
class UserXUnit extends Model
{
    protected $table = "user_x_unit";
    use SoftDeletes;
}
